package construction.adapter.objectAdapter;

public class VoltageAdapter implements Voltage5v {
    Voltage220v voltage220v;
    public VoltageAdapter(Voltage220v voltage220v) {
        this.voltage220v = voltage220v;
    }

    @Override
    public int out5v() {
        int scr = voltage220v.output220v();
        int desV = scr / 44;
        return desV;
    }
}
